// 全局样式表（包含所有公用样式）

// 属性重置
html,
body,
#app {
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: auto;
    font-family: Avenir, Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: #4b4b5a;
    background: #edeff4;
    font-size: 1rem;
}
// 重置滚动条
/*定义滚动条高宽及背景 高宽分别对应横竖滚动条的尺寸*/
::-webkit-scrollbar {
    width: 8px; /*滚动条宽度*/
    height: 8px; /*滚动条高度*/
}

/*定义滚动条轨道 内阴影+圆角*/
::-webkit-scrollbar-track {
    box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
    border-radius: 10px; /*滚动条的背景区域的圆角*/
    background-color: #f1f1f1; /*滚动条的背景颜色*/
}

/*定义滑块 内阴影+圆角*/
::-webkit-scrollbar-thumb {
    border-radius: 10px; /*滚动条的圆角*/
    box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
    background-color: #d7d7d7; /*滚动条的背景颜色*/
}
// 全局自定义颜色
.fff_bg_color {
    background: #ffff;
}
// 全局图标按钮
.icon_button {
    font-size: 1.4rem;
    cursor: pointer;
}
// 全局margin
.margin_r_20 {
    margin-right: 20px;
}
.margin_l_20 {
    margin-left: 20px;
}
.margin_t_20 {
    margin-top: 20px;
}
.margin_b_20 {
    margin-bottom: 20px;
}
.margin_r_10 {
    margin-right: 10px;
}
.margin_l_10 {
    margin-left: 10px;
}
.margin_t_10 {
    margin-top: 10px;
}
.margin_b_10 {
    margin-bottom: 10px;
}
// 导航字体
.el-menu {
    .el-menu-item {
        font-size: 1.2rem;
        border-left: 4px solid #f7f7ff;
        font-weight: 600;
    }
    .el-menu-item [class^="el-icon-"] {
        margin-right: 5px;
        width: 24px;
        text-align: center;
        font-size: 1.2rem;
        vertical-align: middle;
    }
    .el-menu-item.is-active {
        background: #f7f7ff;
        border-left: 4px solid #409eff;
    }
    .el-submenu__title {
        font-size: 1.2rem;
        border-left: 4px solid #f7f7ff;
        font-weight: 600;
    }
}
// 全局卡片
.el-card {
    border-radius: 10px;
}
.new_box_card {
    .el-card__body {
        height: 285px;
        overflow: auto;
    }
}
// 视图层高度
.el-main {
    height: 1px;
}
// 首页卡片选项
.options_box {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-direction: column;
    .item {
        display: flex;
        align-items: center;
        padding: 8px 10px;
        cursor: pointer;
        width: 100%;
    }
    .item:hover {
        background: #fafafa;
    }
}
// 全局面包屑
.breadcrumb_box {
    font-size: 1.2rem;
    font-weight: bold;
    .el-breadcrumb__item:last-child .el-breadcrumb__inner {
        font-size: 1.2rem;
        font-weight: bold;
        color: #c0c4cc;
    }
}
.breadcrumb_form_box {
    font-size: 1rem;
    font-weight: bold;
    height: 32px;
    display: flex;
    align-items: center;
    .el-breadcrumb__item:last-child .el-breadcrumb__inner {
        font-size: 1rem;
        font-weight: bold;
        color: #c0c4cc;
    }
}
// 全局抽屉
.drawer_box {
    .el-drawer__header {
        padding-bottom: 20px;
        margin: 0;
        border-bottom: 1px solid #edeff4;
    }
    .drawer_body {
        padding: 20px;
    }
    .drawerbutton_box {
        .el-form-item__content {
            margin-left: 0 !important;
            display: flex;
            justify-content: center;
            margin-top: 20%;
        }
        .drawerbutton {
            width: 50% !important;
        }
    }
}

// 全局卡片样式
.box-card{
    margin: 20px 0 0 0;
    min-height: calc(100vh - 222px);
}

// 全局文字删除按钮
.deletetext{
    color: #F56C6C;
}
.deletetext:hover{
    color: #F56C6C;
    opacity: .7;
}

// 全局文字详情按钮
.detailstext{
    color: #67C23A;
}
.detailstext:hover{
    color: #67C23A;
    opacity: .7;
}